import { http } from '@/utils/http'

export function addWork(data: any) {
  return http({ url: 'wx/work/add', method: 'POST', data })
}

export function getWorkList(params: any) {
  return http({ url: 'wx/work/list', method: 'GET', data: params })
}

export function sendEndTime(params: any) {
  return http({ url: 'wx/work/endTime', method: 'GET', data: params })
}

export function reportWork(data: any) {
  return http({ url: 'wx/work/report', method: 'POST', data })
}

export function addFeedback(data: any) {
  return http({ url: 'wx/work/feedback', method: 'POST', data })
}
